
            <!-- search widget -->
			<div class="widget-container widget_search">
                            <form method="get" id="searchform" action="#">
                                <div>
                                  <label class="screen-reader-text" for="s">搜 索:</label>
                                    <input class="input_search" name="s" id="s" value="站内查询" onFocus="if (this.value == '站内查询') {this.value = '';}" onBlur="if (this.value == '') {this.value = '站内查询';}" type="text" />
                                    <input id="searchsubmit" class="btn-submit" value="Submit" type="button" />
                                </div>
                            </form>
			</div> 
			<!--/ search widget -->
            
            <div class="widget-container widget_categories">
	            	<h3 class="widget-title">文章分类</h3>
	                    <ul>
                       		{nav name="nav" id="1"}
							<li class="current-menu-item1"><a href="{$nav['url']|get_nav_url}"><span>{$nav['title']}</span></a></li>
							{/nav}
                    	</ul>
			</div> 
             
            
            <div class="widget-container widget_recent_entries">
				<h3 class="widget-title">热门文章</h3>
					<ul>
					{list name="document" limit=5 order="view desc" map="status>0 and cover_id>0" id="item"}
                        <li>
	                        <a href="{:url('index/content/detail?model_id='.$item['model_id'],array('id'=>$item['id']))}"><img src="{$item['cover_id']|get_cover=###,'path'}" alt="" class="thumbnail" width="62" height="62" /></a> 
	                        <div class="recent_entry">
		                        <a href="{:url('index/content/detail?model_id='.$item['model_id'],array('id'=>$item['id']))}" class="link-name">{$item['title']|msubstr=###,0,20}</a>
		                        <div class="meta"><span class="link-comments">{$item['comment']}</span> <span class="link-loveit">{$item['view']}</span> <a href="{:url('index/content/detail?model_id='.$item['model_id'],array('id'=>$item['id']))}" class="link-more">查看更多</a></div>
	                        </div>
                        </li>
					{/list}
					</ul>
			</div>
